package com.by.aop;

/**
 * @author hsitung
 * @ClassName:
 * @Description: (这里用一句话描述这个类的作用)
 * @date *
 */

public class Singlel {

	private static volatile Singlel instance;

	/**
	 *
	 */
	private Singlel () {

	}

	/**
	 *
	 * @return
	 */
	public static Singlel getInstance() {
		if(null == instance) {
			synchronized (Singlel.class) {
				if(null == instance) {
					instance = new Singlel();
				}
			}
		}
		return instance;
	}
}
